<template>
  <div>我是一级路由home</div>
</template>

<script setup lang='ts'>
import { ref, reactive, onMounted } from 'vue'
// 引入仓库
import useUserStore from '@/store/modules/user'
let userStore = useUserStore();

// 首页挂在完毕发请求获取用户信息
onMounted(() => {
  userStore.userInfo();
})

</script>

<style lang='scss' scoped>

</style>